package com.lbj.mall.product.dao;

import com.lbj.mall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lbj.mall.product.entity.vo.AttrGroupVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 *
 * @author libingjun
 * @email 617416791@qq.com
 * @date 2022-03-27 10:44:55
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<AttrGroupVo> getAttrWithGroupByCategoryIdAndSpuId(
            @Param("catalogId") Long catalogId,
            @Param("spuId") Long spuId);
}
